MediaQueryExpression

data class MediaQueryExpression(value: Double, unit: String, feature: String, valueRange: SourceRange?, computedLength: Double?)

Media query expression descriptor.

Constructors

MediaQueryExpression
Link copied to clipboard
fun MediaQueryExpression(value: Double, unit: String, feature: String, valueRange: SourceRange? = null, computedLength: Double? = null)

Properties

computedLength
Link copied to clipboard
val computedLength: Double? = null
Computed length of media query expression (if applicable).
feature
Link copied to clipboard
val feature: String
Media query expression feature.
unit
Link copied to clipboard
val unit: String
Media query expression units.
value
Link copied to clipboard
val value: Double
Media query expression value.
valueRange
Link copied to clipboard
val valueRange: SourceRange? = null
The associated range of the value text in the enclosing stylesheet (if available).

Sources

jvm source
Link copied to clipboard